package vip.bblog.cunadmin.modules.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;
import vip.bblog.cunadmin.common.entity.PageResult;
import vip.bblog.cunadmin.modules.system.dto.ProjectParams;
import vip.bblog.cunadmin.modules.system.entity.Card;

import java.util.List;

/**
 * <p>
 * 抽奖礼品
 * </p>
 *
 * @author yy
 * @since
 */
public interface CardService extends IService<Card> {
    /**
     * 分页查询
     * @param params 参数
     * @return R
     */
    PageResult<List<Card>> listPage(ProjectParams params);


    int addCard(Card params);

     void saveAll(MultipartFile excelFile) throws Exception ;
}
